<%-- 
    Document   : i18n
    Created on : 2014/8/18, 下午 03:58:39
    Author     : Benny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<fmt:setLocale value="${param.pm}" />
<fmt:setBundle basename="data.mes" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>I18N</title>
    </head>
    <body>
        <h1>-----I18N-----</h1>
        <hr>
        <fmt:message key="key1" />
        
       <a href="i18n.jsp?pm=zh_TW">中文版</a>,
       <a href="i18n.jsp?pm=en_US">英文版</a>,
       <a href="i18n.jsp?pm=ja_JP">日文版</a>
        
       
    </body>
</html>
